{% extends "moban1788/base.html" %}
{% block main %}
<div class="page-title cart-title">
  <div class="container-fluid">
    <div class="row">
      <div class="col-md-12 text-center p-static">
        <div class="page-heading">
            <form method= 'get'>
                <input name="name" id = 'name' class="input-sm" placeholder="请输入资源名称" value="" style="width:40%;border-radius: 30px">
                <input type="submit" id='search_en' class='btn btn-info' value='查询' style="width: 10%; margin-left: 1%">
            </form>
        </div>
      </div>
    </div>
  </div>
</div>
<section class="pt-150">
    <div class="container">
        <div class="row">
            <div class="col-md-12 text-center">
                <h1 class="text-uppercase ls-3 bb gray-de"><span class="yellow"> </span> 查询结果</h1>
            </div>
        </div>
        <div class="row" style="margin-bottom: 2%">
          <div class="col-md-12">
            <div class="table-responsive mt-70">
              <table class="table my-cart no-margin">
                <thead>
                  <tr>
                    <th class="col-lg-2">id</th>
                    <th class="col-lg-10">链接</th>
                </tr>
                </thead>
                <tbody>
                    {% for list in list_object %}
                        <tr>
                            <td>{{ list.id }}</td>
                            <td style="text-align: left"><a href="{{ list.url }}" style="font-size: 14px">{{ list.url }}</a></td>
                        </tr>
                    {% empty %}
                        <tr>
                            暂无数据
                        </tr>
                    {% endfor %}
                </tbody>
              </table>
            </div>
          </div>
        </div>
    </div>
</section>
{% endblock %}
{% block js %}
    <script src="../../../qa/static/js_new/jquery-1.12.4.min.js"></script>
    <script src="../../../qa/static/js_new/bootstrap.min.js"></script>
{% endblock %}